num_set = []
input_num = -1;

while input_num != 34:
    try:
        input_num = int(input('please enter a Fibonacci number (34 to stop) : '))
    except Exception as e:
        print('invalid input number')
        continue
    if input_num == 34:
        break
    num_set.append(input_num)

num_set.sort()

print('the Minimum value is', num_set[0])